package com.beordie.service.impl;

import com.beordie.dao.IGradeDao;
import com.beordie.dao.impl.GradeDaoImpl;
import com.beordie.model.Grade;
import com.beordie.service.IGradeService;
import com.beordie.utils.DBUtils;

import java.sql.SQLException;
import java.util.List;


/**
 * @Classname GradeDaoImpl
 * @Description TODO
 * @Date 2021/6/8 12:44
 * @Created 30500
 */
public class GradeServiceImpl implements IGradeService {
    private IGradeDao dao = new GradeDaoImpl();
    @Override
    public List<Grade> getAll() throws SQLException {
        return dao.getAll();
    }
}
